<div ng-include src="'tpl/public/header.html?1'"></div>
<div class="contents">
  <form class="form-horizontal" role="form" name="form" novalidate ng-submit="save()">
    
    <div class="form-group" ng-class="{'has-error':form.pName.$invalid}">
      <label class="col-sm-2 control-label">项目名称</label>
      <div class="col-sm-5 form-control-text ng-binding">{{product.pName}}</div>
    </div>

    <div class="form-group" ng-class="{'has-error':form.pName.$invalid}">
      <label class="col-sm-2 control-label">项目管理人</label>
      <div class="col-sm-5 form-control-text ng-binding">{{product.createBy}}</div>
    </div>

    <div class="form-group" ng-class="{'has-error':form.pName.$invalid}">
      <label class="col-sm-2 control-label">项目融资方</label>
      <div class="col-sm-5 form-control-text ng-binding">{{resume.productLendersName}}</div>
    </div>

    <div class="form-group" ng-class="{'has-error':form.pName.$invalid}">
      <label class="col-sm-2 control-label">资金用途</label>
      <div class="col-sm-5 form-control-text ng-binding">{{resume.productFundsUseDesc}}</div>
    </div>

    <div class="form-group">
      <label class="col-sm-2 control-label"></label>
      <div class="col-sm-5">
        <button type="button" class="btn btn-default" ng-click="addZydy();">新增抵押/质押</button>
      </div>
    </div>

    <div class="form-group" ng-repeat="z in zydy">
      <label class="col-sm-2 control-label">抵押/质押{{$index + 1}}</label>
      <div class="col-sm-5">
        <table width="100%" style="width:100%">
          <tr>
            <td>
              <input type="text" class="form-control" autocomplete="off" ng-model="z.zydy" placeholder="最多30字">
            </td>
            <td width="60" style="width:60px">
              <button type="button" class="btn btn-default" ng-click="deleteZydy($index);">删除</button>
            </td>
          </tr>
        </table>
      </div>
    </div>

    <div class="form-group">
      <label class="col-sm-2 control-label"></label>
      <div class="col-sm-5">
        <button type="button" class="btn btn-default" ng-click="addDbfs();">新增担保方</button>
      </div>
    </div>

    <div class="form-group" ng-repeat="d in dbfs">
      <label class="col-sm-2 control-label">担保方{{$index + 1}}</label>
      <div class="col-sm-5">
        <table width="100%" style="width:100%">
          <tr>
            <td>
              <input type="text" class="form-control" autocomplete="off" ng-model="d.dbfs" placeholder="最多30字">
            </td>
            <td width="60" style="width:60px">
              <button type="button" class="btn btn-default" ng-click="deleteDbfs($index);">删除</button>
            </td>
          </tr>
        </table>
      </div>
    </div>

    <div class="form-group">
      <label class="col-sm-2 control-label">向上箭头</label>
      <div class="col-sm-5">
        <input type="text" class="form-control" autocomplete="off" ng-model="xsjt" placeholder="最多6字">
      </div>
    </div>

    <div class="form-group">
      <label class="col-sm-2 control-label">向下箭头</label>
      <div class="col-sm-5">
        <input type="text" class="form-control" autocomplete="off" ng-model="xxjt" placeholder="最多6字">
      </div>
    </div>

    <div class="form-group">
      <div class="col-sm-offset-2 col-sm-5">
        <button type="submit" class="btn btn-default">提交</button>
      </div>
    </div>

  </form>
</div>
<div load-script src="'/static/jquery.jUploader-1.01.js?5'" call-back="" charset="utf-8" ></div>